#ifndef NEWGAMEDIALOG_H
#define NEWGAMEDIALOG_H

#include <QtGui>
#include "gametable.h"

class newGameDialog : public QDialog
{
    Q_OBJECT

    GameTable *gameTable;

    QLineEdit *playerOne;
    QLineEdit *playerTwo;

    QComboBox *comboBox;

    friend class GameTable;

public:
    newGameDialog(GameTable *table, QWidget *widget = 0);
public slots:

    void cancelEvent();
    void okEvent();

};

#endif // NEWGAMEDIALOG_H
